package com.b511.swpu.cementbackend.repository;

import com.b511.swpu.cementbackend.entity.CM_WK_TailCaseHange;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Optional;

public interface CM_WK_TailCaseHangeRepository extends JpaRepository<CM_WK_TailCaseHange, String>, JpaSpecificationExecutor<CM_WK_TailCaseHange> {

    Optional<CM_WK_TailCaseHange> findByWellNameAndCasingSize(String wellName, String casingSize);
}
